Home
Game Jams
GGJ Hardcore Decor 2019
GGJ Lost in Thought 2021
GGJ Promotion 2018
GGJ Time 2 Pear 2020
Unity Projects
Alchemical Warfare
OSM HouseBuilding GPW
OSM HouseBuilding IP3
Student vs Life
C++ Projects
Boris Engine
Interview Assignments
Krampus's Maze
Misc
Documentation Format
Recommended Tutorials
Contact
Alchemical Warfare
Alchemical Warfare
Classes
Axis_Value
Control
ControlScheme
ButcheredKeyboardControlScheme
ControllerControlScheme
KeyboardControlScheme
DualFrameStateWrapper
SceneObject
AnimatedBar
ConveyorBeltScript
Enemy
Item
Player
Pot
SpawnPotManager
TentacleScript
Sound
SoundManager
IntegratedSoundManager
StateWrapper
UpdateableAudioSource
Player
Description
A script used to control the player using the relevant control scheme and manage their stats.
Player
-
animator :
Animator
+
arrow :
GameObject
+
arrowSpeed :
float
-
ballTravelx :
float
-
ballTravely :
float
-
body :
Rigidbody2D
-
blinkParticle :
GameObject
-
blue :
Color
+
burning :
bool
-
canDash :
bool
-
controls :
ControlScheme
+
dashCd :
int
+
dashDist :
float
-
dashLocation :
Vector2
-
dashLocator :
Vector3
-
dashOffset :
Vector2
-
dead :
bool
-
deathDelay :
float
-
dragonPoisoned :
bool
-
frozen :
bool
-
green :
Color
-
hasitem :
bool
-
health :
float
+
healthBar :
HealthBar2
+
HealthChanged :
HealthChanged
+
heavyHitPercentage :
float
-
heldItem :
Item
-
hitsoundplayable :
bool
-
isDashing :
bool
+
immortal :
bool
-
instantiatedReticle :
GameObject
-
initialised :
bool
+
itemBurnParticle :
GameObject
-
normal :
Color
-
numlockappended :
static bool
-
onIce :
bool
+
playerNum :
PlayerNum
-
players :
static Dictionary
-
playerType :
PlayerType
-
poisoned :
bool
-
pos :
Vector3
-
prevMovementX :
float
-
prevMovementY :
float
-
prevx :
float
-
prevy :
float
-
red :
Color
+
reticle :
GameObject
+
speed :
float
-
sRenderer :
SpriteRenderer
+
staminaBar :
AnimatedBar
-
thisupdatesthenumlock :
bool
+
throwSpeed :
float
bkcs :
ButcheredKeyboardControlScheme
(Property with private getter and no setter)
Dead :
bool
(Property with public getter and no setter)
HasItem :
bool
(Property with public getter and no setter)
HasPotion :
bool
(Property with public getter and no setter)
Health :
float
(Property with public getter and public setter)
HeldItem :
Item
(Property with public getter and no setter)
isBurning :
bool
(Property with public getter and public setter)
isDragonPoisoned :
bool
(Property with private getter and private setter)
isFrozen :
bool
(Property with private getter and private setter)
isPoisoned :
bool
(Property with private getter and private setter)
kcs :
KeyboardControlScheme
(Property with private getter and no setter)
MouseDir :
Vector2
(Property with private getter and no setter)
#
Aiming() :
bool
+
Burn() :
void
+
BurnItem() :
void
#
DashButtonDown() :
bool
-
DashCooldown(cooldown : float) :
IEnumerator
-
Death() :
IEnumerator
+
DropItem() :
void
-
EffectCooldown(duration : float, statuss : status) :
IEnumerator
#
FixedSceneUpdate() :
override void
+
Freeze() :
void
-
GetAxisValue(negativeKey : KeyCode, positiveKey : KeyCode) :
float
-
GetAxisValue(negativeKey : KeyCode, positiveKey : KeyCode, axisvariable : ref float, resetvariable : ref float) :
float
+
GetInstance(player : PlayerNum) :
static Player
#
HorizontalAimAxis() :
float
#
Horizontal_D_PadAxis() :
float
#
HorizontalMovementAxis() :
float
+
ItemDropAttempt() :
bool
+
ItemGrabAttempt() :
bool
-
OnCollisionEnter2D(collision : Collision2D) :
void
-
OnCollisionStay2D(collision : Collision2D) :
void
-
OnDestroy() :
void
-
OnEnable() :
void
-
OnTriggerEnter2D(collision : Collider2D) :
void
-
OnTriggerExit2D(collision : Collider2D) :
void
-
PlayerDash() :
void
+
PlayerTakeDamage(damage : float) :
void
-
PlayHitSound(hitsound : SoundName) :
IEnumerator
+
Poison() :
void
#
SceneUpdate() :
override void
-
SetBool(statuss : status, value : bool) :
void
+
SetControls(cs : ControlScheme, playertype : PlayerType) :
void
+
SetItem(item : Item) :
void
#
Start() :
void
-
StatusChanged() :
void
+
StopDashing() :
void
#
ThrowButtonDown() :
bool
+
ThrowItem() :
bool
#
VerticalAimAxis() :
float
#
Vertical_D_PadAxis() :
float
#
VerticalMovementAxis() :
float